
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/sociaty/top_list${query}`,
    method: 'get',
  });
}

export function saveData(form) {
  return request({
    url: '/sociaty/update_rate',
    method: 'post',
    data: form
  });
}

export function updateData(form) {
  return request({
    url: '/sociaty/update_memo',
    method: 'post',
    data: form
  });
}
//
// export function deleteData(query) {
//   return request({
//     url: '/nobility/del',
//     method: 'post',
//     data: query
//   });
// }

export function deleteData() {
  return Promise.reject(new Error('接口不可用 ！'))
}
